package comment.dao;

import comment.model.pojo.Comment;
import comment.model.pojo.Reply;
import comment.model.pojo.Video;

import java.util.ArrayList;
import java.util.List;

public interface IVideoDao {
        List<Video> getVideoByUid(int id) throws InstantiationException, IllegalAccessException;
        List<Comment> getCommentByVid(int vid) throws InstantiationException, IllegalAccessException;
        List<Reply>  getReplyByCommentId(int id) throws InstantiationException, IllegalAccessException;
        void deleteVideoByVid(int vid);
        void deleteCommentBy(int vid);
        void deleteReplyBy(int comid);
}
